package com.puppet.building182.service;

import com.puppet.building182.pojo.Result;
import com.puppet.building182.pojo.VO.RoleVo;

import java.util.List;

public interface RoleService {

    List<RoleVo> getRole(Integer uid );
    List<RoleVo> getRolesByUid(Integer id);

    Integer saveRoleByUid(Integer uid, List<Integer> roleIds);

    Integer countRoleByUserId(Integer id);

    List<RoleVo> getAllRoles();

    Integer updateRole(RoleVo roleVo);

    RoleVo getrolebyid(Integer id);

  Integer deleteRoleById(Integer id);
}
